package org.example;


import cn.hutool.http.server.HttpServerRequest;
import cn.hutool.poi.word.Word07Writer;
import cn.hutool.poi.word.WordUtil;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import java.awt.*;
import java.io.File;

@RestController
public class HuToolTest {

    @CrossOrigin
    @RequestMapping("/aa")
    public void aa(HttpServletRequest request){
        System.out.println(request.getRemotePort());
    }
}
